using System;
using System.Data;
using System.Configuration;
using System.Collections;

using DataAccess;
using Entities;
/// <summary>
/// Summary description for ThongTinTaiKhoanBL
/// </summary>
namespace BusinessLogic
{
    public class ThongTinTaiKhoanBL
    {
        #region Private Variables
        ThongTinTaiKhoanDAL objThongTinTaiKhoanDAL;
        #endregion

        #region Public Constructors
        public ThongTinTaiKhoanBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objThongTinTaiKhoanDAL = new ThongTinTaiKhoanDAL();
        }
        #endregion

        #region Public Methods
        public int Insert(ThongTinTaiKhoan objThongTinTaiKhoan)
        {
            return objThongTinTaiKhoanDAL.Insert(objThongTinTaiKhoan);
        }

        public int Update(ThongTinTaiKhoan objThongTinTaiKhoan)
        {
            return objThongTinTaiKhoanDAL.Update(objThongTinTaiKhoan);

        }

        public int Delete(ThongTinTaiKhoan objThongTinTaiKhoan)
        {
            return objThongTinTaiKhoanDAL.Delete(objThongTinTaiKhoan);

        }

        public int DeleteAll()
        {
            return objThongTinTaiKhoanDAL.DeleteAll();
        }

        public ThongTinTaiKhoan Select(ThongTinTaiKhoan objThongTinTaiKhoan)
        {
            return objThongTinTaiKhoanDAL.Select(objThongTinTaiKhoan);
        }

        public ArrayList SelectAllToArray()
        {
            return objThongTinTaiKhoanDAL.SelectAllToArray();
        }

        public DataTable SelectAll()
        {
            return objThongTinTaiKhoanDAL.SelectAll();
        }



        #endregion

    }

}
